package com.chinadci.smartcommunitysystembackstage.mapper;

import com.chinadci.smartcommunitysystembackstage.entity.ScsUser;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Code Duck
 * @since 2021-04-13
 */
public interface ScsUserMapper extends BaseMapper<ScsUser> {
    //显示所有用户信息
    @Select("SELECT * from scs_user where u_name LIKE #{name}")
    List<ScsUser> UserFind(String name);
}
